[INFO] cloning repository https://github.com/comicfans/unrar_sys
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/comicfans/unrar_sys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomicfans%2Funrar_sys", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomicfans%2Funrar_sys'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 43f9e24fa14cc6448e0d0a468b96814c650a2bbd
[INFO] fixing comicfans/unrar_sys against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomicfans%2Funrar_sys" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/comicfans/unrar_sys
[INFO] finished tweaking git repo https://github.com/comicfans/unrar_sys
[INFO] tweaked toml for git repo https://github.com/comicfans/unrar_sys written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/comicfans/unrar_sys on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/comicfans/unrar_sys already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `unrar_sys` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 294728011eefda4b11f5d5e3605b67ae7bfe0fd19eb698cdfa651d22b0feafc6
[INFO] running `Command { std: "docker" "start" "294728011eefda4b11f5d5e3605b67ae7bfe0fd19eb698cdfa651d22b0feafc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "294728011eefda4b11f5d5e3605b67ae7bfe0fd19eb698cdfa651d22b0feafc6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "294728011eefda4b11f5d5e3605b67ae7bfe0fd19eb698cdfa651d22b0feafc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "294728011eefda4b11f5d5e3605b67ae7bfe0fd19eb698cdfa651d22b0feafc6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `unrar_sys` (manifest) generated 1 warning
[INFO] [stderr]    Compiling cc v1.0.36
[INFO] [stderr]     Checking libc v0.1.12
[INFO] [stderr]    Compiling unrar_sys v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2015 edition to 2018
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp: In function 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)':
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:21: warning: '%u' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                     ^~
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:20: note: directive argument in the range [1, 4294967295]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                    ^~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: In file included from /usr/include/stdio.h:980,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/os.hpp:155,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/rar.hpp:6,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/pathfn.cpp:1:
[INFO] [stderr] warning: unrar_sys@0.2.0: In function 'int sprintf(char*, const char*, ...)',
[INFO] [stderr] warning: unrar_sys@0.2.0:     inlined from 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)' at vendor/unrar/pathfn.cpp:768:10:
[INFO] [stderr] warning: unrar_sys@0.2.0: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 6
[INFO] [stderr] warning: unrar_sys@0.2.0:    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    31 |                                   __glibc_objsize (__s), __fmt,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    32 |                                   __va_arg_pack ());
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: At global scope:
[INFO] [stderr] warning: unrar_sys@0.2.0: cc1plus: note: unrecognized command-line option '-Wno-logical-op-parentheses' may have been intended to silence earlier diagnostics
[INFO] [stderr]    Migrating src/lib.rs from 2015 edition to 2018
[INFO] [stderr]    Migrating examples/lister.rs from 2015 edition to 2018
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.44s
[INFO] [stderr] crater-edition-check: unrar_sys v0.2.0 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]    Compiling unrar_sys v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp: In function 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)':
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:21: warning: '%u' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                     ^~
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:20: note: directive argument in the range [1, 4294967295]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                    ^~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: In file included from /usr/include/stdio.h:980,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/os.hpp:155,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/rar.hpp:6,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/pathfn.cpp:1:
[INFO] [stderr] warning: unrar_sys@0.2.0: In function 'int sprintf(char*, const char*, ...)',
[INFO] [stderr] warning: unrar_sys@0.2.0:     inlined from 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)' at vendor/unrar/pathfn.cpp:768:10:
[INFO] [stderr] warning: unrar_sys@0.2.0: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 6
[INFO] [stderr] warning: unrar_sys@0.2.0:    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    31 |                                   __glibc_objsize (__s), __fmt,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    32 |                                   __va_arg_pack ());
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: At global scope:
[INFO] [stderr] warning: unrar_sys@0.2.0: cc1plus: note: unrecognized command-line option '-Wno-logical-op-parentheses' may have been intended to silence earlier diagnostics
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.96s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp: In function 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)':
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:21: warning: '%u' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                     ^~
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:20: note: directive argument in the range [1, 4294967295]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                    ^~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: In file included from /usr/include/stdio.h:980,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/os.hpp:155,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/rar.hpp:6,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/pathfn.cpp:1:
[INFO] [stderr] warning: unrar_sys@0.2.0: In function 'int sprintf(char*, const char*, ...)',
[INFO] [stderr] warning: unrar_sys@0.2.0:     inlined from 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)' at vendor/unrar/pathfn.cpp:768:10:
[INFO] [stderr] warning: unrar_sys@0.2.0: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 6
[INFO] [stderr] warning: unrar_sys@0.2.0:    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    31 |                                   __glibc_objsize (__s), __fmt,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    32 |                                   __va_arg_pack ());
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: At global scope:
[INFO] [stderr] warning: unrar_sys@0.2.0: cc1plus: note: unrecognized command-line option '-Wno-logical-op-parentheses' may have been intended to silence earlier diagnostics
[INFO] [stderr]     Checking unrar_sys v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/lister.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.26s
[INFO] [stderr] crater-edition-check: unrar_sys v0.2.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling unrar_sys v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp: In function 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)':
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:21: warning: '%u' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                     ^~
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:20: note: directive argument in the range [1, 4294967295]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                    ^~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: In file included from /usr/include/stdio.h:980,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/os.hpp:155,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/rar.hpp:6,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/pathfn.cpp:1:
[INFO] [stderr] warning: unrar_sys@0.2.0: In function 'int sprintf(char*, const char*, ...)',
[INFO] [stderr] warning: unrar_sys@0.2.0:     inlined from 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)' at vendor/unrar/pathfn.cpp:768:10:
[INFO] [stderr] warning: unrar_sys@0.2.0: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 6
[INFO] [stderr] warning: unrar_sys@0.2.0:    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    31 |                                   __glibc_objsize (__s), __fmt,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    32 |                                   __va_arg_pack ());
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: At global scope:
[INFO] [stderr] warning: unrar_sys@0.2.0: cc1plus: note: unrecognized command-line option '-Wno-logical-op-parentheses' may have been intended to silence earlier diagnostics
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp: In function 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)':
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:21: warning: '%u' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                     ^~
[INFO] [stderr] warning: unrar_sys@0.2.0: vendor/unrar/pathfn.cpp:768:20: note: directive argument in the range [1, 4294967295]
[INFO] [stderr] warning: unrar_sys@0.2.0:   768 |   sprintf(Field[7],"%u",(uint)WeekDay+1);
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                    ^~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: In file included from /usr/include/stdio.h:980,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/os.hpp:155,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/rar.hpp:6,
[INFO] [stderr] warning: unrar_sys@0.2.0:                  from vendor/unrar/pathfn.cpp:1:
[INFO] [stderr] warning: unrar_sys@0.2.0: In function 'int sprintf(char*, const char*, ...)',
[INFO] [stderr] warning: unrar_sys@0.2.0:     inlined from 'void GenArcName(wchar*, size_t, const wchar*, uint, bool&)' at vendor/unrar/pathfn.cpp:768:10:
[INFO] [stderr] warning: unrar_sys@0.2.0: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 6
[INFO] [stderr] warning: unrar_sys@0.2.0:    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    31 |                                   __glibc_objsize (__s), __fmt,
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0:    32 |                                   __va_arg_pack ());
[INFO] [stderr] warning: unrar_sys@0.2.0:       |                                   ~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: unrar_sys@0.2.0: At global scope:
[INFO] [stderr] warning: unrar_sys@0.2.0: cc1plus: note: unrecognized command-line option '-Wno-logical-op-parentheses' may have been intended to silence earlier diagnostics
[INFO] [stderr]     Checking unrar_sys v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (1 fix)
[INFO] [stderr]    Migrating examples/lister.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s
[INFO] [stderr] crater-edition-check: unrar_sys v0.2.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling unrar_sys v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]  --> build.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     set_var("LIBFLAGS", "-fPIC");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]  --> build.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     set_var("LDFLAGS", "-pthread");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]  --> build.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     set_var("CXXFLAGS", "-O2  -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else ");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `unrar_sys` (build script) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "294728011eefda4b11f5d5e3605b67ae7bfe0fd19eb698cdfa651d22b0feafc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "294728011eefda4b11f5d5e3605b67ae7bfe0fd19eb698cdfa651d22b0feafc6", kill_on_drop: false }`
[INFO] [stdout] 294728011eefda4b11f5d5e3605b67ae7bfe0fd19eb698cdfa651d22b0feafc6
